package com.atguigu.spzx.manage.service;


import com.atguigu.spzx.model.dto.system.EventDto;
import com.atguigu.spzx.model.entity.system.Event;
import com.github.pagehelper.PageInfo;

public interface EventService {

    PageInfo<Event> findByPage(EventDto eventDto, Integer pageNum, Integer pageSize);


    void saveEvent(Event eventVo);

    void updateEvent(Event event);

    void endById(Long id);

    void deleteById(Long id);

    void startById(Long id);
}
